home *** CD-ROM | disk | FTP | other *** search
/ SPACE 1 / SPACE - Library 1 - Volume 1.iso / program / 245 / boxcon2 / boxcon.doc next >
Text File  |  1988-02-07  |  3KB  |  62 lines

  1.   BOXCON is a menu box creation program that will write a GFA BASIC
  2. procedure to disk which you can merge into your own program.
  3. All you have to do is make a Gosub call to that procedure. 
  4. This new version (2.0) will allow you to have several procedures in the
  5. same program. When you run BOXCON, it will ask you MAIN or HOST. 
  6. Your first procedure in your program must be the Main and any others
  7. will be your host. When you make a host, it will ask you for the name
  8. of the Main procedure. You have to supply this so the host can access it.
  9. Note that you have to make a gosub call to your Main procedure first.
  10. If you want to clear the screen, just type CLS before you call your
  11. procedure.
  12.  
  13. Also in version 2.0, you have the option to print out or display
  14. your variables your procedure will return. It uses the variable 
  15. Choice%(n). If it is set to one, that means that box was selected.
  16. The name of boxes that you selected are also stored in the variable
  17. array Tx$(n). The size of the array is contained in the variable
  18. max%. 
  19.  
  20. When running BOXCON.PRG you have different control codes you can
  21. define your text and boxes with. CTRL G will set the grouping of
  22. your boxes. It will display the box's text and you will see
  23.  
  24.              Group?
  25. It is asking for which group you want to assign the box to.
  26. It can be any number you want it to be. Text you want in the same group must
  27. have the same number.
  28.  
  29. Next it will ask
  30.  
  31. Box Defaulted to ON?
  32. If you answer yes then that box will be preselected when the
  33. procedure is first called. After answering yes, it will not ask
  34. again for that group.
  35.  
  36. Then it will ask
  37.  
  38. Deselected if Last in group?
  39.  
  40. If you answer No, that means if the one you try to deselect is the
  41. last one remaining in it's group then you will not be able to deselect it.
  42.  
  43. CTRL T will allow you to change the text size. It will ask you
  44. for a number between 1 and 9.   1 is smallelst, 9 is biggest.
  45.  
  46. CTRL E will let you set your exit boxes. An exit box will exit
  47. the procedure and you will have to make another gosub call.
  48. If you don't put an exit box in your procedure, you can use the right
  49. mouse button to exit the procedure.
  50. The variable choice% without the array extension contains the
  51. value of the exit box. If it was the 5th box created then it will
  52. return the value 5.
  53.  
  54.                  Written by
  55.                    Ron Rabaut
  56.                    PSC Box 6191
  57.                    Eglin AFB, FL
  58.                            32542
  59.  
  60.  
  61.  Martin⓪>d#⇨
  62. Hyromanx⓪>jז⇧Quirmo Rod